package com.mts.javacommon.jpabase;

import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 *
 *
 * <pre>
 *      PageVo
 * </pre>
 *
 * @author Johnny
 * @date 2021-09-28
 */
@Data
@Schema(name = "分页查询对象", description = "分页查询对象")
public class PageVo implements Serializable {

  private static final long serialVersionUID = 1L;

  @Schema(description = "页码数", example = "0")
  private int pageNumber;

  @Schema(description = "每页数量", example = "10")
  private int pageSize;

  @Schema(description = "排序字段（字段）", hidden = true)
  private String sort;

  @Schema(description = "排序方式", hidden = true)
  private String order;
}
